package com.chixing.service;

import com.chixing.commons.ServerResponse;
import com.chixing.pojo.Mycollects;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 收藏表 服务类
 * </p>
 *
 * @author Jason Marslyon
 * @since 2022-10-04
 */
public interface IMycollectsService  {
    //添加收藏
    public ServerResponse saveCollection(Integer jobId, String token);
//查询收藏的职位
//public ServerResponse getCollection(Integer proId);

    //分页
    public ServerResponse getPage(Integer proId,Integer pageNum, String token);
    //获取总条书
    public ServerResponse getTotal(Integer perId);
    //修改收藏的状态   mycollectstate  0 》》》》》1  为取消收藏
    public ServerResponse updateIsDelCollect(Integer jobId,String token);
    //获取登录用户收藏的职位
    public ServerResponse getCollection(Integer jobId, String token);
}
